package org.linlinjava.litemall.admin.dto;


import org.linlinjava.litemall.db.domain.LitemallCompanyCharge;

import java.math.BigDecimal;

public class CdkeyDto {
    int number;
    BigDecimal faceValue;

    public int getNumber() {
        return number;
    }

    public void setNumber(int number) {
        this.number = number;
    }

    public BigDecimal getFaceValue() {
        return faceValue;
    }

    public void setFaceValue(BigDecimal faceValue) {
        this.faceValue = faceValue;
    }

    public BigDecimal totalValue(){
        return this.faceValue.multiply(BigDecimal.valueOf(this.number));
    }
}
